package core.profile.model;

import java.io.Serializable;
import java.sql.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;


@Entity
@Table(name="basicprofileav")
public class BasicProfileAv implements Serializable
{
	private static final long serialVersionUID = -8767337896773261247L;
	private Long uuid ;
	private BasicProfile basicprofile;
	private String name ;
	private String stringvalue ;
	private int intvalue;
	private float floatvalue;
	private Date datevalue ;
	private String datatype ;
	
	@Id
	@GeneratedValue
	@Column(name="uuid")
	public Long getUuid() {
		return uuid;
	}
	public void setUuid(Long uuid) {
		this.uuid = uuid;
	}
	
	@ManyToOne(cascade = CascadeType.ALL)
	public BasicProfile getBasicprofile() {
		return this.basicprofile;
	}
	public void setBasicprofile(BasicProfile basicprofile) {
		this.basicprofile = basicprofile;
	}
	@Column(name="name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name="stringvalue")
	public String getStringvalue() {
		return stringvalue;
	}
	public void setStringvalue(String stringvalue) {
		this.stringvalue = stringvalue;
	}
	@Column(name="intvalue")
	public int getIntvalue() {
		return intvalue;
	}
	public void setIntvalue(int intvalue) {
		this.intvalue = intvalue;
	}
	@Column(name="floatvalue")
	public float getFloatvalue() {
		return floatvalue;
	}
	public void setFloatvalue(float floatvalue) {
		this.floatvalue = floatvalue;
	}
	@Column(name="datevalue")
	public Date getDatevalue() {
		return datevalue;
	}
	public void setDatevalue(Date datevalue) {
		this.datevalue = datevalue;
	}
	@Column(name="datatype")
	public String getDatatype() {
		return datatype;
	}
	public void setDatatype(String datatype) {
		this.datatype = datatype;
	}
}
